<?php
    require_once("./classes/sessao.php");
    session_start();

    if (isset($_SESSION['ANAWEB']) && !empty($_POST['profid']))
        $_SESSION['ANAWEB']->AlteraProfessor($_POST['profid']);

    header("Location: upload.php");
?>